package com.graduationproject.examonline.scorePaper.mapper;

import com.graduationproject.examonline.scorePaper.entity.ScorePaper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ScorePaperMapper {
    public int insertScorePaper(Map<String, Object> params);

    public List<ScorePaper> getScoreInfoByStuIdAndExamId(String stu_id, String exam_id);

    public List<ScorePaper> getScoreInfoByExamId(String exam_id);

    public List<ScorePaper> getScoreInfoByStuId(String stu_id);

    public int updateStuId(String stu_id, String next_stu_id);
}
